let str = "Hello";
let [a,b,c,d,e] = str;

console.log("a =",a);
console.log("e =",e);

let [...a1] = str;
console.log(a1[0]);
console.log(a1[4]);

let {length: len,charAt} = str;
console.log("len =",len);
console.log("charAt =",charAt);


let {toString: s} = 123;
console.log("s =",s);